<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>iSeaJs - app1 </title>

	<!--// AliceUI基础样式 -->
	<link href="assets/styles/one.css" rel="stylesheet" type="text/css" />
	<style>
		.wrapper {
		    width: 990px;
		    margin: 0 auto;
		}
	</style>
</head>

<body>
	<div class="wrapper">
		<div class="ui-grid-row">
			<div class="ui-grid-25">
				<div class="ui-box">
				    <div class="ui-box-head">
				        <div class="ui-box-head-border">
				        	<h3 class="ui-box-head-title">App/app1</h3>
				        </div>
				    </div>
				    <div class="ui-box-container">
				        <div class="ui-box-content">

					        <input type="button" class="ui-button ui-button-mblue" value="app1.say()" id="log" />

							<p class="holderspace" id="replace">这里将会被app1替换为："jquery is ready!"。</p>

				        </div>
				    </div>
				</div>
			</div>
		</div>
	</div>

<!--// 引入seajs -->
<script src="./assets/scripts/sea-modules/seajs/2.1.1/sea.js" id="seajsnode"></script>
<script src="./assets/scripts/sea-modules/config.js"></script>

<script type="text/javascript">

seajs.use(['$', 'app/app1/main.js'], function ($, app1) {
	$('#log').on('click', function(){
		app1.say();
	})
});
</script>


</body>
</html>